//处理DPR
.font-size(@px) {
  font-size: round(@px / 2) * 1px;
  [data-dpr="2"] & {
    font-size: @px * 1px;
  }
  [data-dpr="2.5"] & {
    font-size: round(@px * 2.5 / 2) * 1px;
  }
  [data-dpr="2.75"] & {
    font-size: round(@px * 2.75 / 2) * 1px;
  }
  [data-dpr="3"] & {
    font-size: round(@px * 3 / 2) * 1px;
  }
  [data-dpr="4"] & {
    font-size: @px * 2px;
  }
}

//应用时.fonts-size:50
html {
  font-size: 75px;
}
body {
  background-color: #fff;
}
html,body{
  //width: 100%;
  //height: 100%;
  //overflow: hidden;
  //position: relative;
}
@maincolor:orange;//主题色


//主页面遮罩层
.Ht_mask {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .8);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  .Ht_maskcontent {
    width: 200px;
    height: 200px;
    background-color: #fff;
    position: absolute;
    padding-top: 50px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    span.fa-spinner {
      font-size: 50px;
      text-align: center;
      display: block;
      margin: 0 auto;
    }
    p {
      font-size: 20px;
      text-align: center;
      position: relative;
      //s{
      //  display: block;
      //  position: absolute;
      //  top: 15px;
      //  left: 142px;
      //  width: 0px;
      //  //height: 1px;
      //  //border-width: 5px;
      //  border-bottom: 3px dashed green;
      //}
    }
  }
}


//头部B
.bj_header{
  height: 50px;
  width: 100%;
  background-color: @maincolor;
  span{
    font-size: 30px;
    float: left;
    padding: 10px 0 0 10px;
    color:#fff;
  }
  .bj_app{
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    right: 0;
    background-image: url("../images/header_app.png");
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center center;
  }
  h3{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    color:#fff;
    font-size: 35/75rem;
  }
}


//主题部分B
.smc_main {
  .smc_goods {
    li {
      padding: 20/75rem 0  20/75rem 20/75rem;
      height: 400/75rem;
      width: 100%;
      a {
        display: block;
        width: 100%;
        height: 100%;
        .smc_pic {
          height: 100%;
          width: 380/75rem;
          float: left;
          img {
            display: block;
            width: 100%;
            height: 100%;
          }
        }
        .smc_content {
          overflow: hidden;
          position: relative;
          height: 100%;
          padding: 8/75rem 0 0 16/75rem;
          .smc_theme {
            p {
              font-size: 30/75rem;
              color: #000;
            }
          }
          .smc_price {
            padding: 5/75rem 0;
            font-size: 35/75rem;
            color: red;
            font-weight: 600;
          }
          .smc_info {
            position: absolute;
            left: 0;
            bottom: 0;
            font-size: 20/75rem;
            color: #ccc;
            .smc_addr {
              padding-right: 5/75rem;
              border-right: 1px solid #ccc;
            }
            .smc_message {
              float: right;
              span.fa-comments {
                padding-right: 5/75rem;
              }
            }
          }
        }
      }
    }
  }
}

//页脚
.smc_foot{
  .smc_chosePage{
    padding: 20/75rem  0;
    height: 100/75rem;
    display: flex;
    background-color: #fff;
    justify-content: space-between;
    .smc_page_prev{
      flex: 1;
      margin-right: 20/75rem;
      width: 50px;

    }
    #smc_sel{
      flex: 1;
      margin-right: 20/75rem;

    }
    .smc_page_next{
      flex: 1;
      width: 50px;
    }
  }
  .smc_info{
    li{
      float: left;
      border-top: 1px solid #000;
      border-bottom: 1px solid #000;
      width: 33.333%;
      height: 100/75rem;
      line-height: 100/75rem;
      text-align: center;
      background-color: #EFEFEF;
      margin-top: 20px;
      a{
        display: block;
        width: 100%;
        height: 100%;
      }
    }
    li:nth-of-type(2){
      border-right: 1px solid #000000;
    }
    li:nth-of-type(1){
      border-right: 1px solid #000;
    }

  }
  .smc_app{
    height: 168/75rem;
    background-color: #EFEFEF;
    text-align: center;
    p:nth-of-type(1){
      font-size: 30/75rem;
      text-align: center;
      color:#ccc;
      line-height: 84/75rem;

      span:nth-of-type(1){
        color:red;
      }
      span:nth-of-type(2){
        color:#000;
      }
    }
    p:nth-of-type(2){
      a{
        font-size: 30/75rem;

      }
    }
  }
}

//返回顶部箭头
.smc_returnArrow{
  position: absolute;
  right: 20/75rem;
  bottom: 0;
  width: 100/75rem;
  height: 100/75rem;
  background-color: rgba(0, 0, 0, .6);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  text-align: center;
  line-height: 100/75rem;
  span{
    position: relative;
    font-size: 30/75rem;
    color:#fff;
    animation: move 2s ease-in-out infinite;
    -webkit-animation:move 2s ease-in-out infinite ;
    -moz-animation: move 2s ease-in-out infinite;
    -o-animation: move 2s ease-in-out infinite;
  }
  @keyframes move {
    0%{
      transform: translateY(0px);
      -webkit-transform: translateY(0px);
    }
    70%{
      transform: translateY(-10px);
      -webkit-transform: translateY(-10px);

    }
    100%{
      transform: translateY(0px);
      -webkit-transform: translateY(0px);


    }
  }
  @-webkit-keyframes move {
    0%{
      transform: translateY(0px);
      -webkit-transform: translateY(0px);

    }
    70%{
      transform: translateY(-10px);
      -webkit-transform: translateY(-10px);

    }
    100%{
      transform: translateY(0px);
      -webkit-transform: translateY(0px);


    }
  }
  @-moz-keyframes move {

    0%{
      transform: translateY(0px);
      -webkit-transform: translateY(0px);

    }
    70%{
      transform: translateY(-10px);
      -webkit-transform: translateY(-10px);

    }
    100%{
      transform: translateY(0px);
      -webkit-transform: translateY(0px);


    }
  }
  @-o-keyframes move {
    0%{
      transform: translateY(0px);
      -webkit-transform: translateY(0px);

    }
    70%{
      transform: translateY(-10px);
      -webkit-transform: translateY(-10px);

    }
    100%{
      transform: translateY(0px);
      -webkit-transform: translateY(0px);


    }
  }
}
















